import type { App } from 'vue'
import { Icon } from './Icon'
import GToolbar from './GToolbar/index.vue'
import GTable from './GTable/index.vue'
import Ellipsis from './Ellipsis/index.vue'
import GFilters from './GFilters/index.vue'
import GDateRangePicker from './GDateRangePicker/index.vue'

export const setupGlobCom = (app: App<Element>): void => {
  app.component('Icon', Icon)
  app.component('GToolbar', GToolbar)
  app.component('GTable', GTable)
  app.component('Ellipsis', Ellipsis)
  app.component('GFilters', GFilters)
  app.component('GDateRangePicker', GDateRangePicker)
}
